package com.aracky.system.model.entity;

import com.aracky.common.entitybase.BaseCommonEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 字典类型表
 * </p>
 *
 * @author zengzhiping
 * @since 2022-07-15 09:11:41
 */
@Data
@TableName("sys_dict_type")
@ApiModel(value = "SysDictType对象", description = "字典类型表")
public class SysDictType extends BaseCommonEntity {

    @ApiModelProperty("字典主键")
    @TableId(value = "dict_id", type = IdType.AUTO)
    private Long dictId;

    @ApiModelProperty("字典名称")
    @TableField("dict_name")
    private String dictName;

    @ApiModelProperty("字典编码")
    @TableField("dict_code")
    private String dictCode;

    @ApiModelProperty("状态（1正常 0停用）")
    @TableField("status")
    @TableLogic(delval = "0",value = "1")
    private Boolean status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
